﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models.DTO;
using Models;

namespace IBLL
{
	public interface ICustomerInfoBLL
    {
        bool LoginIndex(string customerAccount, string customerPassword, out string msg, out string customerName, out string customertId);

        List<GetCustomerInfoDTO> GetCustomerInfoH(int page, int limit, string customerName, out int count);

        List<GetCustomerInfoDTO> GetCustomerInfo(int limit, int page, string categoryName, out int count);

		bool CreateCustomerInfo(CustomerInfo cate, out string msg);

		bool DeleteCustomerInfo(string id);

		bool DeleteListCustomerInfo(List<string> ids);

		bool UpdateCustomerInfo(CustomerInfo cate, out string msg);

        bool UpdateCustomerInfoHeader(string custHeader, string custId, out string msg);

        object GetSelectOption();

        CustomerInfo GetCustomerInfoById(string id);
    }
}
